Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add route to match object #39

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Add route to match object #39

merged 1 commit into from
Jan 11, 2022

Conversation

arjandepooter
Copy link
Contributor

As documented in the BreadcrumbMatch interface the route property should be filled with the route object which matched for the given path segment. We're having a use-case where we want to add some extra metadata to the route which we can extract from the return breadcrumbs from the hook. This pull request adds the matched route so it will be available in the rendered breadcrumb as well as the array of breadcrumbs from the hook.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 96f5db1 on arjandepooter:master into 4fa09f5 on icd2k3:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants